<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/24 0024
  Time: 下午 10:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <link href="D:\dev\sctu-javaweb-2018-1\1606101007邱义成lab01
    \web\WEB-INF\css\bootstrap.min.css">
    <title>Title</title>
</head>
<body>
<%
    if(session.getAttribute("islogin")==null){
        response.sendRedirect("login.jsp");
    }

%>
<%

    String id = request.getParameter("id");
    String username = request.getParameter("username");
    String password = request.getParameter("password");
%>

<form  action="userUpdate.do" method="post"  class="form-horizontal">
    <input type="text" name="id" value="<%=id%>" hidden="hidden"/><br/>
    <div class="form-group">
        <label class="col-sm-2 control-label">用户名:</label>
        <div class="col-sm-10">
            <input type="text" name="username"
                   class="form-control" placeholder="输入用户名称"
                   value="<%=username%>">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">密码:</label>
        <div class="col-sm-10">
            <input type="password" name="password"
                   class="form-control" placeholder="输入密码"
                   value="<%=password%>">
        </div>
    </div>
    <div class="col-sm-10">
        <input type="submit" value="更新">
    </div>
    </div>
</form>
</body>
</html>
